# Author:Yiye
# -*- codeing = utf-8 -*-
# @Time :2021/11/28 22:48
# @Author:李卓
# @Site : 
# @File : 33.边框元素.py
# @Software : PyCharm
import PySimpleGUI as sg
frame_layout = [
                  [sg.T('Text inside of a frame')],
                  [sg.CB('Check 1'), sg.CB('Check 2')],
               ]
layout = [
          [sg.Frame('My Frame Title', frame_layout, font='Any 12', title_color='blue')],
          [sg.Submit(), sg.Cancel()]
         # Matplotlib
         #
         ]

window = sg.Window('Frame with buttons', layout, font=("Helvetica", 12))
envent,values = window.read()
window.close()
print(envent,values)

